stop polling if connection reset or port unreachable
adding polling sleep time
invalid syntax in st3 resulting in disabled commands (fix #1)