Create a serverless custom retry mechanism for stateless queue consumers