handling failures from connector