fix: resolve the issue where rpc timeout of 0 is used when timeout expires (#776) * fix: resolve the issue where rpc timeout of 0 is used when timeout expires * address offline feedback * formatting * update comment