An official in Beirut said talks were under way to break the impasse , which threatens to delay parliamentary elections scheduled for May .