adding http close precedure

## object
Sometimes monacoind stuck because monacoin_client does not close http conection. This fix solve the problem