Fixing threading issues. Multiple calls to Thread.start();