Add possibility to ignore state change exceptions, fixes #102