totally removed handling of termination signals