In order to debug a problem with Django's mysql connection timing out during a long celery task (Long celery task causes MySQL timeout in Django - options?) I would like to manually close the connection so I can see if my reconnect attempt works.
Is this possible?