properly remove requests upon exit