syscall handler is now finished