Added code to release mpsd