The aircraft was forced to return to JFK after two hours in the air.