BUG ? Calling Function in Multiple Threads ?