added nonblocking connection close() overloading to RpcConnection