Actually, the actuall implementation of managing this situation is container specific.
However the end result, I think,is that the container will continue to execute the loop untill it reaches the timeout period. After that it will kill the bean instance. Whether the client logs out or not he will never get the result.