Use the new threading model for communicating
Remove unused method
Change default values
Add toasts and error handeling
Add methods for stopping and resuming the socket thread