Fix null reference on failure to connect

Refactor sphero adaptor