Server closes on it's own