Update orcaReflector.js

For error cases, check validity of objects before trying to disconnect them