Made server cleanup after itself