took care to terminate application autmatically: If the program is idle (no more work to do) for at least 30 seconds (the default), than all threads are closed and therefore the program will terminate.