Fixed get_current_spin usecase to wrk with postgres