ensured that it stopped the post when it realized the connection was closed.  Also ensured it deleted the local file on an HTTP 200 (OK).  So, now it considers OK, CREATED, and REDIRECTED as acceptable success status codes and deletes the local file