Closes this folder object. If commit is true, then the folder is sync'ed before being closed.
See Implementation
Closes this folder object. If commit is true, then the folder is sync'ed before being closed.