[FIX] printf width
[ADD] shutdown function