Added Phusion Passenger check to broker's timer so that it terminates EM when running inside Passenger so that the controller's callback fires appropriately