attempt to add shutdown handler on sigint