Fixes to thread processing in exit
Bump version