manual tracking: moved automatic tracking to subthread, adjusted error handling