Fix connection problem about fork() on Rails4 (e.g Unicorn's preload_app)