Improved [MXSession close] to better close the event stream: do not take into account coming events if there are.
Allow the call of [MXSession close] within callbacks of [MXSession start]