upon destroy of event loop, the loop pointer is now passed by address

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Internal one way messages were leaked to the application upon
flush.

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>