Fix handling of the task loops (once again)
Fix handling of the task loops (once again)

Multiple tasks can be resolved with an exception at once. The previous
code did handle only one exception, resulting in errors bubbling up

saltyrtc/saltyrtc-server-python,saltyrtc/saltyrtc-server-python