Fixes disconnect pins by making last IO calls sync and validates for existance of pin files.