Removed docker-py dependency for running sandbox, more robust error handling for sandboxes