Railway sector sets plans to avoid losses this year