implement 'exit' from network panel in one click.