Fix for: #PyDev-75: Deadlock found on code analysis