Added 2 seconds timeout to network scan