[kurento-sanity] Secure close of web driver in base for sanity tests

Change-Id: Ifc6936a6e3ac718669aceb69e7f5ce09882ea61a