catching tcp error in notification method in server