refactoring
test it
Print first, delay later
Catch ConnectionException
Merge branch 'raspberry-refactor'