the list of workers, hence the return statement should be in the synchronized block. By: Andrew Ardill <andrew.ardill@gmail.com>