When the worker thread receives a request, verify if there are more requests ready to be read.

Issue #16.