Return false if file was locked and timeout expired