added exception for killing mongodb