kill motors on sudden application close

#34