changed board.exit() to board.close() for pymata