Program is now able to acquire the first integer for 5 seconds. If fails, sends -1 to WorkDistributor and exits.