Fixed pre-existing connections crashing a server during restart. #36