- fixed deadlock condition