drd: Fix fork() handling