[fix] close and shutdown missing