When a user of a repository logs out from a session, if that user used events (via the ObservationManager) for that session, the listener threads created for this purpose are not released, even though the session can no longer be used. The effect is that this will/can slowly starve resources.
Merged upstream (59e1ce57675a2559213a66bfb00d095615f060f2). Should be part of ER4.
Horia Chiorean <hchiorea> updated the status of jira MODE-2343 to Reopened
Moving back to ASSIGNED since the fix is incomplete.
Added an additional fix which makes shutting down the observation manager more robust.