DEICH-6067 - suspend-resume improvements
Separated suspend and resume logic to two separate event handlers (onResume, onSuspend) to make code logic more concise. Wired up suspend/resume logic to common success/failure handling logic which handles session timeout too.