fix play sounds thread