Added abort command to allow properly exit