Having trouble… my worker thread runs for a random amount of time, usually few seconds, and then just stops.