Check internet connect and clear top activity