Two SriLankan Airlines flights have been canceled due to the security threat following the attacks on Saudi Arabia's capital Riyadh.