Added code to check for deadlock and return -EBUSY
Revert "Added code to check for deadlock and return -EBUSY"

This reverts commit 107d0b0c69b90141c33866c6a883e856b1fd73fa.