@AnimatioLN, you can close the connection yourself by executing the code: _InMail.getApi().reset();
Connecting to APIs
-
@zw Use http client module to achieve this.

Some docs:
http://wiki.bablosoft.com/doku.php#http_client_faqExample posting tweet using api:
twitterapi.xml