Handle the case of a log file already in use