try catch to prevent unexpected error
basicHTTPserver
basicHTTPserver