Hamilton close to signing new Mercedes contract