Session management fix

Fixes session management setup fail in the case of a missing sessionObj update by adding a timeout and retry.