Check for connection before load/save