Send term signal on timeout and only kill if process is still running after 2 seconds.