Change the location of the delay to prevent race conditions.
Added a "reject" status for listeners doing file transfer.
updated api docs