The logout request should be done before the application terminates, otherwise the request fails.
Authored by: outchy 2010-12-06
Parent: [r10]
Child: [r12]