Forces session change on actions that require long DB calls. With this, there is no more waiting on switch updating.