server not closing on us