Fixed database error when Passenger forked process