Clear disconnection events after getting them

#40