Thread posting error handling work in progress