Added a timeout to getCurrentPosition

By default the timeout is Infinity. Changed to 20s.