ORACLETOOLS-140: Socket-based RemoteExecutor implementations should be Closeable.