fixed signal handling so children ignore sigusr1