Handle socket permission error