[#65486620] Moves the processing of messages into a deferred EM process to keep the heartbeat from being blocked