Cancel a specific connection method.