Issue due to persistence

Hi i have a execution scenario.

Lets I have source address persistence in place. Due to a some XYZ reason server rejects the connection. Client again connects to VS and due to persistence in place client connection request is again forwarded to previous server ( which rejected the connection from same client) then again it could rejected. Is some intelligence possible at VS for handling this scenario ?

Thanks in Advance.

Due to a some XYZ reason server rejects the connectiondoes it mean tcp reset or some http response code?

LB_FAILED event wiki

http://devcentral.f5.com/wiki/iRules.LB\_FAILED.ashx

Can I capture TCP Reset in iRules?

http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/39/aft/2470/showtab/groupforums/Default.aspx