checks if the request target exists, closes otherwise