timeout lock capacity limit

@treeder @edsrzf 

Currently only server side implementation