PIPEX_STATE_OPENED
if (session->state == PIPEX_STATE_OPENED)
session->state = PIPEX_STATE_OPENED;
case PIPEX_STATE_OPENED: