Added a little threading app to make sure synchronization is working properly