Fix moint restarting issue for sidekiq.