- tell sql thread to finish only after the other threads finished - prevents other threads stalling on sql replies