BLK-98 No need for a lock since there's only one thread. Fixes logic errors

Signed-off-by: Oren Leiman <oleiman@neutral.io>
BLK-98 Removes dangling lock reference

Signed-off-by: Oren Leiman <oleiman@neutral.io>
Merge pull request #1 from nio-blocks/bug/state_change_one_at_a_time

BLK-98 No need for a lock since there's only one thread. Fixes logic err...