Removed mutex (I know risky, but its POC), using a single variable for state tracking
Changed from instance variable to class variable