close shutter now in terminate method