Supported scale up of shared locks also in case of timeout
Fixed bug on remote connections: the pool wasn't used properly with poor performance on parallel connections