Move clear_output to server start