Don't allow resetting state whilst socketClose events are still occuring.
Don't allow resetting state whilst socketClose events are still occuring.

ShaneMcC/DMDirc-Parser,DMDirc/Parser,greboid/Parser,csmith/DMDirc-Parser