Promise for all node core modules async functions