CBQE-2456 check in/uninstall process ended
before going next step.  If it is not ended in 3 mins,
the process will be forced to exit

Change-Id: I023258f32357c48b3cd51d98837a1918c200e9b9
Reviewed-on: http://review.couchbase.org/42843
Reviewed-by: Thuan Nguyen <soccon@gmail.com>
Tested-by: Thuan Nguyen <soccon@gmail.com>