Made SwookieeClient AutoCloseable and refactored client in maven plugin