The device 2 comprises a connector part 4 for connecting to a hub and a flow regulation mechanism 24 for selectively controlling the flow of fluid through a fluid flow path 8 that extends through the connector part 4. The flow regulation mechanism 24 has a travel from an initial configuration to a final configuration where the initial travel partially opens the fluid flow path 8. A second portion of travel closes the fluid flow path 8 and releases a corresponding hub attached to the connector part 4. The flow regulation member may comprise a control member 26 to control the flow through the flow path and a disconnection member 28 which releases a hub from the connector part.