Fixes cowboy_session:expire/1
Corrects the kind of termination to
terminate the server gracefully.