fix a race condition when there're several applications in apps directory

When use rebar with "apps" directory and enable cover for eunit or common_test, the change between apps has a race condition because the ETS is not killed when the new cover start (is a race condition but in several projects that I have it happends a lot of times).