For anyone with similar issues, it is AV which causes this. At least for me. You need to add it to exceptions or disable AV temporarily.