Fix exec callback management