Added thread events to start and stop downloads