Removed Synchronized statements to prevent deadlocks. Made some
concurrent tests.