worker and foreman sends completed tasks on "send_results n".

Where n is the maximum number of results to send back. n == -1 means
send all.
process_*result? did not use stoptime as a parameter.
Keep a list of workers with available results.
Wait for result messages when receiving 'available_results'.
Print foreman's debug messages every 10 seconds.