Rookie Sri Lankan fast bowler Matheesha Pathirana claimed four wickets to help rescue the hosts after their batting collapse and hand Afghanistan a narrow four-run defeat in Saturday's T20 opener.