Added log messages on close

git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@5493 63c20433-aa62-49bd-875c-5a186b69a8fb