dedicated catch clause for no memory error, minor fix for executor shutdown