This was causing issues where the closed would get called before the io callbacks and removing them...