Added unblocking of SIGTERM