Well eventually I found the problem and it was not SFTP.
I manually disabled every plugin one at a time to test the problem but it made no difference.
I then moved over to my settings and found that I was stupidly causing the issue myself by having:
I thought this setting just saved the file is st3 crashed or closed without saving. Anyway lesson learned and no more uploading without my permission.