shutdown all non-main threads before closing
add a todo item