Add synchronize block when send message at close