The provided duration is only an advisory upper bound and the implementation may choose to close the session at any time before the expiration of the within parameter. The returned Future[Unit] will resolve when all resources have been freed from the client.
Attributes
Note
This will generally entail closing the socket connection.