handle signals and forwards them to the child process, fixes #5