termination signal is now working