before swap SQL job for AWS job queue