Close() is now synced too.