Removed 'synchronized' keyword from one of the methods.