catch FirmwareException in refreshEncoders()

This can happen if the arm collides with something.