Catch more stasd exceptions

Closes #167