fixed the queue process decorator

it would be really convenient if sqlite supported multithreading but it
doesn't so w/e