Hi Michal,
There is a retry interceptor in jBPM4 that might do what you are looking for,
did you check out this thread: http://community.jboss.org/thread/154856
I am not sure what you mean by "no managed connections", running out of connections in your pool?