new apply_after/4 and revised spi0_server.erl