California is set to lose one of its nine remaining gasoline refineries by October, calling the security of its gasoline supplies into question.