BP inches close to plugging leak