According to rfc2616#section-6:
> After receiving and interpreting a request message, a server
> responds with an HTTP response message.
That response was missing for /api/getID which could lead to
EMFILE, because needle module was waiting indefiniately for
response from server. Since client sends /api/getID once every 10
seconds, this piles up, ultimately reaching ulimit for opened file
descriptors.
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>