That is super duper hard to do, not feasible at all the way rate limits are implemented.
I think the simplest thing to do here @zogstrip is to queue the post for processing in N (30) seconds if you hit a rate limit, then if it tries N times (3) then fail out.
That way its pretty easy to implement and will not involve a lot of complicated bypasses to rate limits.