catch only socket error
Set default interval 3 seconds.
define exception instance variable