Add trap to kill smbd in smbsrv()