Adding protected method to clear intent queue