Most likely, the hissing repels predators long enough for the hissing cockroach to escape and breed, thus passing the genes that contribute to hissing biology on to another generation.
Cockroaches help pollinate flowers in the tropics. Cockroaches scavenge the debris left by plants and animals. Cockroaches are used for medical testing.