close #2 + call getlasterror