Fix payday threading

#3006