temp fix to closing server