sp_ep_close used instead of using vfptr directly

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>