I get this same problem. My solution is just to turn google drive off while I'm working and then just let it sync at the end of the day. Google drive won't let you save whilst it syncs the file.
Dropbox does appear to let you sync though and has a lot less problem. So you could switch over.