Fixed Thread.currentThread() call.