fix unicorn restart issue