removed timeout in makefile
fixed passing of accept function