using queue for client's buffers syncronization