added free(command) to the API GPRS_Pro.closeSocket() that was causing code to block at the sockets