Fix a bug that reset the connection between the switch and the controller.
Solution discovered by: Kazuya Suzuki