fixed PY-13177 PyCharm hangs on adding incorrect interpreter (python3-pyinotify)

added timeout for process to destroy it if failed

(cherry picked from commit e674dd1e39a9f3dfc53fcf1197e561a7cad315f3)
3.4.1