Fixed threaded reset() function