All-Star closer agrees to deal with AL playoff team