Replaced mutex with volatile
Pushed to version 1.1