Moved changing fiber state to sleeping inside lock.
Moved changing fiber state to sleeping inside lock.

digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch