Fix for waitFor() to make sure args is an array (#32)