Implement Closeable

The http clients have some thread pools that keep the jvm running if not cleaned up properly. This is needed for proper shutdown of clients.