remove location after client connection closed