fixing deadlock condition
fixing deadlock condition

achernet/sh,rsmith31415/sh,twocngdagz/sh,amoffat/sh,jakirkham/sh,rdhyee/sh,amoffat/sh,germangh/sh,pombredanne/sh,z-fork/sh,simudream/sh,ppannuto/sh,hacosta/python-sh,Stupeflix/sh,pdelong42/sh,lwgarmstrong/sh,hacosta/python-sh