server is correctly deleted and added a method to check the status