Failure handling updated: switched to synchronized linked hash map for work->failure