Catch script errors
exec the logstash process so that it can be signalled by docker.
replace with a python script
Add a connection checker
Fix typo and catch socket errors