Fixed bug where centralManager tries to cancel connections to periperhals when there are not any connected