lspcon_get_current_mode
current_mode = lspcon_get_current_mode(lspcon);
wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 400);