task: shut down ini_hal at exit

Signed-off-by: Jeff Epler <jepler@unpythonic.net>