improved Minion::Job to stop gracefully after receiving a TERM signal