patched third party firebase API to support frozen multiprocessing module