simple_switch: handle non-buffering switch

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>