added explicit delay to test functionality. Note: this is posix only sleep