Prevent signals from being sent to pid 0

 * Closes #544