Fix server synch queue drain to work like client one