It stops scanning after a while
Well, I don't know if it's normal or not, but after a while, usually 20-30 minutes, the program stops scanning the pokemons nearer to the marker and only scans those that are at the edge of the radius. Then it completely stop scanning. Can I solve it somehow?
Are you signing in with a Google account?
Yes I am
Google logins time out after 30 minutes. If you want it to stay logged in and refresh indefinitely, create a PTC account and log in using that. There will be no difference between the two as far as seeing Pokemon on the map goes. Plus, it's always smart to log in with a disposable account in case Niantic starts banning people for using the API without authorization.