Bug fixed. Added missing httpclient close.