class EventMachine::Completion

def execute_callbacks

call any statebacks associated with the completed state.
Execute all callbacks for the current state. If in a completed state, then
def execute_callbacks
  execute_state_callbacks(state)
  if completed?
    execute_state_callbacks(:completed)
    clear_dead_callbacks
    cancel_timeout
  end
end