Gattling 1.5.2 only executes the very last exec in a loop?!

Does anyone know the reason why in the following code snippet only the last “exec” is actually executed?

.asLongAs( session=>session.isAttributeDefined(“waitInterval”))
exec( session=>session.removeAttribute(“waitInterval”) )

exec( session=> {

Once I get into the loop I can never get out simply because the first “exec” call does not fire.
The reason I know this is because if I switch the two “exec” calls then I stop getting session dumps using “println”.
If anyone can shine some light on this issue I’d greatly appreciate it.
Thank you.

Easy: you forgot a dot to chain the 2 exec, so the first one result is simply ditched.
Get it?

Great! It works!
Thanks a lot!